package com.yun.space.entity;

import java.util.Date;

/**
 * 带侧边栏的内容
 * @author JiaQi
 *
 */
public class MainContent {
	private Integer id;
	private String title;//标题
	private String contents;//内容
	private String sideTitle;//侧边栏标题
	private Integer type;//类别
	private Date putTime;//上传时间
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	public String getSideTitle() {
		return sideTitle;
	}
	public void setSideTitle(String sideTitle) {
		this.sideTitle = sideTitle;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Date getPutTime() {
		return putTime;
	}
	public void setPutTime(Date putTime) {
		this.putTime = putTime;
	}
	@Override
	public String toString() {
		return "MainContent [id=" + id + ", title=" + title + ", contents=" + contents + ", sideTitle=" + sideTitle
				+ ", type=" + type + ", putTime=" + putTime + "]";
	}
	public MainContent(Integer id, String title, String contents, String sideTitle, Integer type, Date putTime) {
		super();
		this.id = id;
		this.title = title;
		this.contents = contents;
		this.sideTitle = sideTitle;
		this.type = type;
		this.putTime = putTime;
	}
	public MainContent() {
	}
	
}
